import http from '../utils/http.js'


export const getBalanceFollowPage = (params) => {
  return http.post('/sysUser/getBalanceFollowPage', params)
}

export const withdraw = (params) => {
  return http.post('/sysUser/withdraw', params)
}

export const withdrawFee = (withdrawAmount) => {
  return http.get(`/sysUser/withdrawFee?withdrawAmount=${withdrawAmount}`)
}

export const createPayOrder = (params) => {
  return http.post('/pay/createPayOrder', params)
}

export const getPayResult = (orderCode) => {
  return http.get(`/pay/getPayResult/${orderCode}`)
}
